projects
/
project
/
bcm63xx
/
atf.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
021318d
)
services/spm_deprecated: fix return code polarity of spm_init()
author
Ard Biesheuvel
<
[email protected]
>
Tue, 1 Jan 2019 10:03:08 +0000
(11:03 +0100)
committer
Ard Biesheuvel
<
[email protected]
>
Tue, 15 Jan 2019 16:51:23 +0000
(17:51 +0100)
Registered init handlers return a boolean int, not a return code,
so convert the result from the SPM init call before returning it.
Signed-off-by: Ard Biesheuvel <
[email protected]
>
services/std_svc/spm_deprecated/spm_main.c
patch
|
blob
|
history
diff --git
a/services/std_svc/spm_deprecated/spm_main.c
b/services/std_svc/spm_deprecated/spm_main.c
index 540f257bd366ee513e15fbd9c14d85b71b8d34ab..7525763b181c00355e63d633b0689b2ec74ab45c 100644
(file)
--- a/
services/std_svc/spm_deprecated/spm_main.c
+++ b/
services/std_svc/spm_deprecated/spm_main.c
@@
-151,7
+151,7
@@
static int32_t spm_init(void)
INFO("Secure Partition initialized.\n");
- return rc;
+ return
!
rc;
}
/*******************************************************************************